package com.xjtu.service;

import com.xjtu.vo.AttackRecordVo;


public interface NetworkService {
    void loadTopology(String topologyFilePath) throws Exception;

    void clearNetwork();

    int getAttackerCount();

    int getServerCount();

    void executeAttack(AttackRecordVo attackRecordVo) throws Exception;

    /**
     * 获取服务器流量信息
     * @param serverName 服务器名称
     * @return 流量信息
     * @throws Exception
     */
    String getServerTrafficInfo(String serverName) throws Exception;

}
